python add comma each 3 digits format

19

>>> total_amount = 10000
>>> print("{:,}".format(total_amount))
10,000

Comments

Submit
0 Comments